"""
Descripttion: 
Author: jdz
version: 
Date: 2024-08-12 15:32:40
LastEditors: jdz
LastEditTime: 2024-08-12 15:33:15
"""

from connection import Book, Session


session = Session()
# book = Book(book_name="Python", price=100)
# session.add(book)
# session.commit()

with session.begin():
    book = Book(book_name="Java", price=99)
    session.add(book)
